#include <fstream>
#include <iostream>
using namespace std;
int main()
{
    ofstream outstream;
    outstream.open("outfile.txt");
    int first, second, third;
    first = 1;
    second = 2;
    third = 3;
    outstream << " first=" << first << endl;
    outstream << " second=" << second << endl;
    outstream << " third=" << third << endl;
    outstream.close();
    return 0;
}